<template>
	<view class="center demo-content">
		<view class="demo-item">
			<navigator url="/pages/index/index">
				<button>index页面</button>
			</navigator>
		</view>
		<view class="demo-item">
			<navigator url="/pages/login/login" open-type="reLaunch">
				<button>登录注册页</button>
			</navigator>
		</view>
		<view class="demo-item">
			<navigator url="/pages/CityInfo/CityInfo">
				<button>城市探索</button>
			</navigator>
		</view>
		<view class="demo-item">
			<navigator url="/pages/mine/mine">
				<button>卡片组件</button>
			</navigator>
		</view>
		<view class="demo-item">
			<navigator url="/pages/News/News">
				<button>新闻页面</button>
			</navigator>
		</view>
		<view class="demo-item">
			<navigator url="/pages/IntentPage/IntentPage">
				<button>组件传值</button>
			</navigator>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {

		}
	}
</script>

<style>
	.demo-content {
		flex-direction: column;
	}

	.demo-item {
		width: 90%;
		padding: 5px;
	}

	.nav {
		color: black;
	}
</style>